public class Hello {
    public static void main(String[] args) {
        String str1="abc";
//        String str2="'a','b','c'";
        String str2=new String(new char[]{'a','b','c'});
        char[] char1=new char[]{'a','b','c'};
        System.out.println(char1);
        System.out.println(char1[0]);
        System.out.println(str1==str2);
        System.out.println(str1.equals(str2));
    }
}
